﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using mBook.Entity;
using mBook.DataAccess;

public partial class BookList_List : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            IList<BookList> datasource = new BookListDA().GetAll();
            rpt.DataSource = datasource;
            rpt.DataBind();
        }
    }
}